<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
 *
 *
 */
class Orders extends CI_Model  {
	/**
	 * Constructor
	 * @access protected
	 */
	function _construct()
	{
      // Call the Model constructor
      parent::_construct();
	}
	function save_order ($data){

		#$this->log('save starts');
		$str = $this->db->insert_string('orders', $data);
		#$this->log('save starts...'.$str);
		$query = $this->db->query($str);
		#if ($query)
		#	$this->Log('all gooood');
		#else 
		#	$this->Log('all gone bad');
	}
}